package com.skong.scd.eurekaclientfeignhystrix.service;

import com.skong.scd.eurekaclientfeignhystrix.service.hystrix.HelloServiceHystrix;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "server-test",fallback = HelloServiceHystrix.class)
public interface HelloService {

    @GetMapping("/sayHello")
    String sayHello();
}
